package com.ferry.lock.engine.zookeeper.menagerie;

import org.apache.zookeeper.ZooKeeper;

/**
 * Created by daiyong
 * zookeeper session 管理器
 */
public interface ZKSessionManager {

	ZooKeeper getZooKeeper();

	void closeSession();

	void addConnectionListener(ConnectionListener listener);

	void removeConnectionListener(ConnectionListener listener);

}
